-
Home
-
Square Sync for WooCommerce | Comprehensive Data Sync Between Square and WooCommerce
-
2.0.14
-
Code
-
Classes
- OrdersController
Total Complexity |
64 |
Dependencies |
8 |
Dependents |
1 |
Total lines |
621 |
Lines of code |
405 |
Logical lines of code |
188 |
Comment lines |
128 |
Methods |
17 |
Properties |
2 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_orders() |
B |
34 |
15 |
92 |
create_square_order() |
A |
45 |
9 |
40 |
prepareSquareOrderData() |
S |
46 |
6 |
39 |
getCommonProductTaxRate() |
S |
61 |
5 |
11 |
addFeeLineItems() |
S |
55 |
4 |
19 |
formatNewCustomerData() |
S |
50 |
3 |
28 |
getOrderLineItems() |
S |
51 |
3 |
27 |
getOrCreateSquareCustomer() |
S |
58 |
3 |
15 |
getProductTaxRate() |
S |
67 |
4 |
7 |
payForOrder() |
S |
56 |
2 |
17 |
calculateTotalOrderTaxDetails() |
S |
56 |
2 |
17 |
addShippingLineItem() |
S |
58 |
2 |
16 |
getOrderDiscounts() |
S |
60 |
2 |
14 |
getOrderFulfillments() |
S |
51 |
1 |
28 |
register_routes() |
S |
58 |
1 |
18 |
mapOrderStatus() |
S |
62 |
1 |
12 |
createOrderInSquare() |
S |
72 |
1 |
5 |